lcPlineFromFile Home

Copies vertices from a file data.

 BOOL lcPlineFromFile (
   HANDLE hPline,
   LPCWSTR szFileName
 );

Parameters
hPline
  Handle to a polyline object.
szFileName
  Name of the file which contains X, Y coordinates of each vertex.
The file extention must be .txt, the contents can be like this:
274.0   19.0
273.0   20.0
272.0   20.0
271.0   21.0
269.0   22.0
...

Return Value

  If the function succeeds, the return value is nonzero (TRUE).